<div id="main">
	<div id="registration">
		<?php if(isset($errors)): ?>
		<?php foreach($errors as $error): ?>
			<div><?php echo $error; ?></div>
		<?php endforeach; ?>
		<br><br>
		<?php endif; ?>
		<?php echo form_open(base_url("pages/submit")); ?>
			<table width="500" border="0" cellpadding="0" cellspacing="2"
				style="margin: auto;">
				<tr>
					<td><span class="form">نام شرکت : &nbsp; </span></td>
					<td><input name="company" type="text" class="txt-field" /></td>
				</tr>
				<tr>
					<td><span class="form">شماره تماس : &nbsp; </span></td>
					<td><input name="tel" type="text" class="txt-field" /></td>
				</tr>
				<tr>
					<td><span class="form">ایمیل آدرس : &nbsp; </span></td>
					<td><input name="email" type="text" class="txt-field" /></td>
				</tr>
				<tr>
					<td><span class="form">نام محصول : &nbsp; </span></td>
					<td><input name="name" type="text" class="txt-field" /></td>
				</tr>
				<tr>
					<td><span class="form">مدل : &nbsp; </span></td>
					<td><input name="model" type="text" class="txt-field" /></td>
				</tr>
				<tr>
					<td><span class="form">توضیحات : &nbsp; </span></td>
					<td><textarea name="desc" class="txt-field" cols="" rows=""
							style="width: 300px; height: 200px;"></textarea></td>
				</tr>
				<tr>
					<td>&nbsp;</td>
					<td><input name="submit" type="submit" class="btn" value="ارسال" />
						<input type="reset" class="btn" value="پاک کردن" /></td>
				</tr>
			</table>
		</form>
	</div>
</div>
